package com.itheima.service;

import com.itheima.dto.AddRoleDTO;
import com.itheima.dto.RoleDTO;
import com.itheima.vo.RoleInfoVO;
import com.itheima.vo.RolePageVO;
import com.itheima.vo.RoleVO;

import java.util.List;

public interface SysRoleService {
    RolePageVO list(Integer page, Integer limit, String name);

    List<RoleVO> allData();

    void save(AddRoleDTO addRoleDTO);

    RoleInfoVO rowInfo(String id);

    void update(RoleDTO roleDTO);

    void delete(String id);
}
